/*
 * @(#)OrderDaoImpl.java	2013-2-4 下午9:40:42
 * order-jsp-servlet
 * Copyright 2013 Thuisoft, Inc. All rights reserved.
 * THUNISOFT PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.thunisoft.order.dao.impl;

import java.util.List;

import com.thunisoft.order.common.utils.MyTemplate;
import com.thunisoft.order.dao.IOrderDao;
import com.thunisoft.order.domain.TOrder;

/**
 * OrderDaoImpl
 * 
 * @author ice
 * @version 1.0
 * 
 */
public class OrderDaoImpl extends MyTemplate implements IOrderDao {

    @SuppressWarnings("unchecked")
    @Override
    public List<TOrder> getOrderByPage() {
        StringBuilder sbHql = new StringBuilder();
        sbHql.append("select    ");
        sbHql.append("  order.*    ");
        sbHql.append("from  ");
        sbHql.append("  TOrder order    ");
        // sbHql.append("");
        return getHibernateTemplate().find(sbHql.toString(), new Object[] {

        });
    }

}
